//统计中心⬇️
$(".navBtn").bind('click',function(){
    console.log(this.id);
    if(this.id=='create'){
        //页面刷新时候  根据浏览器sessionStorage存储的病例id获取患者基本信息  start
        sessionStorage.setItem('patient_id','');//清除患者id值
        sessionStorage.setItem('record_id','');//清除病例id值
        location.pathname="/manage/store"

    }else if(this.id=='search'){
        location.pathname="/manage/search"
    }else if(this.id=='platform'){
        location.pathname="/reserve/platform";
        sessionStorage.setItem('reservationCenterTabPage','');//清除预约列表对应的标记
    }

});

//综合统计添加病例时清空之前的病例缓存数据⬇️
$('.box-border-top .addCase').click(function(e){
    sessionStorage.clear();
});
//综合统计添加病例时清空之前的病例缓存数据⬇️
$('.box-border-top .toCaseList').click(function(e){
    sessionStorage.clear();
});